﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace eNote.Models
{
    public class Note
    {
        public string Text { get; set; }
        public DateTime Time { get; set; }
        public string FName { get; set; }
    }

    public class NoteItem
    {
        public string Text { get; set; }
        public string FName { get; set; }
        public DateTime Time { get; set; }
        public int Index { get; set; }
        public State State { get; set; }
    }

    public enum State
    {
        None,
        Delete,
        Update,
        Insert
    }

    public class NoteViewModel
    {
        public List<NoteItem> NoteItems { get; set; }

        public string FName { get; set; }
    }
}
